package models

type Province struct {
	Model
	Name     string `gorm:"type:varchar(32);not null;comment:省名"`
	ParentId int    `gorm:"type:int(10);not null;default 0;comment:父级id,拓展字段，万一以后要拓展呢"`
}

func (p Province) TableName() string {
	return "sys_province"
}
